Integrand size = 21, antiderivative size = 418 \[ \int \frac {(d+e x)^{7/2}}{\left (a+c x^2\right )^{5/2}} \, dx=-\frac {(a e-c d x) (d+e x)^{5/2}}{3 a c \left (a+c x^2\right )^{3/2}}-\frac {\sqrt {d+e x} \left (a e \left (3 c d^2+5 a e^2\right )-2 c d \left (2 c d^2+3 a e^2\right ) x\right )}{6 a^2 c^2 \sqrt {a+c x^2}}+\frac {2 d \left (c d^2+2 a e^2\right ) \sqrt {d+e x} \sqrt {1+\frac {c x^2}{a}} E\left (\arcsin \left (\frac {\sqrt {1-\frac {\sqrt {c} x}{\sqrt {-a}}}}{\sqrt {2}}\right )|-\frac {2 a e}{\sqrt {-a} \sqrt {c} d-a e}\right )}{3 (-a)^{3/2} c^{3/2} \sqrt {\frac {\sqrt {c} (d+e x)}{\sqrt {c} d+\sqrt {-a} e}} \sqrt {a+c x^2}}-\frac {\left (c d^2+a e^2\right ) \left (4 c d^2+5 a e^2\right ) \sqrt {\frac {\sqrt {c} (d+e x)}{\sqrt {c} d+\sqrt {-a} e}} \sqrt {1+\frac {c x^2}{a}} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {1-\frac {\sqrt {c} x}{\sqrt {-a}}}}{\sqrt {2}}\right ),-\frac {2 a e}{\sqrt {-a} \sqrt {c} d-a e}\right )}{6 (-a)^{3/2} c^{5/2} \sqrt {d+e x} \sqrt {a+c x^2}} \]
[Out]
Time = 0.27 (sec) , antiderivative size = 418, normalized size of antiderivative = 1.00, number of steps used = 7, number of rules used = 6, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.286, Rules used = {753, 833, 858, 733, 435, 430} \[ \int \frac {(d+e x)^{7/2}}{\left (a+c x^2\right )^{5/2}} \, dx=-\frac {\sqrt {d+e x} \left (a e \left (5 a e^2+3 c d^2\right )-2 c d x \left (3 a e^2+2 c d^2\right )\right )}{6 a^2 c^2 \sqrt {a+c x^2}}-\frac {\sqrt {\frac {c x^2}{a}+1} \left (a e^2+c d^2\right ) \left (5 a e^2+4 c d^2\right ) \sqrt {\frac {\sqrt {c} (d+e x)}{\sqrt {-a} e+\sqrt {c} d}} \operatorname {EllipticF}\left (\arcsin \left (\frac {\sqrt {1-\frac {\sqrt {c} x}{\sqrt {-a}}}}{\sqrt {2}}\right ),-\frac {2 a e}{\sqrt {-a} \sqrt {c} d-a e}\right )}{6 (-a)^{3/2} c^{5/2} \sqrt {a+c x^2} \sqrt {d+e x}}+\frac {2 d \sqrt {\frac {c x^2}{a}+1} \sqrt {d+e x} \left (2 a e^2+c d^2\right ) E\left (\arcsin \left (\frac {\sqrt {1-\frac {\sqrt {c} x}{\sqrt {-a}}}}{\sqrt {2}}\right )|-\frac {2 a e}{\sqrt {-a} \sqrt {c} d-a e}\right )}{3 (-a)^{3/2} c^{3/2} \sqrt {a+c x^2} \sqrt {\frac {\sqrt {c} (d+e x)}{\sqrt {-a} e+\sqrt {c} d}}}-\frac {(d+e x)^{5/2} (a e-c d x)}{3 a c \left (a+c x^2\right )^{3/2}} \]
[In]
[Out]
Rule 430
Rule 435
Rule 733
Rule 753
Rule 833
Rule 858
Rubi steps \begin{align*} \text {integral}& = -\frac {(a e-c d x) (d+e x)^{5/2}}{3 a c \left (a+c x^2\right )^{3/2}}+\frac {\int \frac {(d+e x)^{3/2} \left (\frac {1}{2} \left (4 c d^2+5 a e^2\right )-\frac {1}{2} c d e x\right )}{\left (a+c x^2\right )^{3/2}} \, dx}{3 a c} \\ & = -\frac {(a e-c d x) (d+e x)^{5/2}}{3 a c \left (a+c x^2\right )^{3/2}}-\frac {\sqrt {d+e x} \left (a e \left (3 c d^2+5 a e^2\right )-2 c d \left (2 c d^2+3 a e^2\right ) x\right )}{6 a^2 c^2 \sqrt {a+c x^2}}+\frac {\int \frac {\frac {1}{4} a e^2 \left (c d^2+5 a e^2\right )-c d e \left (c d^2+2 a e^2\right ) x}{\sqrt {d+e x} \sqrt {a+c x^2}} \, dx}{3 a^2 c^2} \\ & = -\frac {(a e-c d x) (d+e x)^{5/2}}{3 a c \left (a+c x^2\right )^{3/2}}-\frac {\sqrt {d+e x} \left (a e \left (3 c d^2+5 a e^2\right )-2 c d \left (2 c d^2+3 a e^2\right ) x\right )}{6 a^2 c^2 \sqrt {a+c x^2}}-\frac {\left (d \left (c d^2+2 a e^2\right )\right ) \int \frac {\sqrt {d+e x}}{\sqrt {a+c x^2}} \, dx}{3 a^2 c}+\frac {\left (\left (c d^2+a e^2\right ) \left (4 c d^2+5 a e^2\right )\right ) \int \frac {1}{\sqrt {d+e x} \sqrt {a+c x^2}} \, dx}{12 a^2 c^2} \\ & = -\frac {(a e-c d x) (d+e x)^{5/2}}{3 a c \left (a+c x^2\right )^{3/2}}-\frac {\sqrt {d+e x} \left (a e \left (3 c d^2+5 a e^2\right )-2 c d \left (2 c d^2+3 a e^2\right ) x\right )}{6 a^2 c^2 \sqrt {a+c x^2}}-\frac {\left (2 d \left (c d^2+2 a e^2\right ) \sqrt {d+e x} \sqrt {1+\frac {c x^2}{a}}\right ) \text {Subst}\left (\int \frac {\sqrt {1+\frac {2 a \sqrt {c} e x^2}{\sqrt {-a} \left (c d-\frac {a \sqrt {c} e}{\sqrt {-a}}\right )}}}{\sqrt {1-x^2}} \, dx,x,\frac {\sqrt {1-\frac {\sqrt {c} x}{\sqrt {-a}}}}{\sqrt {2}}\right )}{3 \sqrt {-a} a c^{3/2} \sqrt {\frac {c (d+e x)}{c d-\frac {a \sqrt {c} e}{\sqrt {-a}}}} \sqrt {a+c x^2}}+\frac {\left (\left (c d^2+a e^2\right ) \left (4 c d^2+5 a e^2\right ) \sqrt {\frac {c (d+e x)}{c d-\frac {a \sqrt {c} e}{\sqrt {-a}}}} \sqrt {1+\frac {c x^2}{a}}\right ) \text {Subst}\left (\int \frac {1}{\sqrt {1-x^2} \sqrt {1+\frac {2 a \sqrt {c} e x^2}{\sqrt {-a} \left (c d-\frac {a \sqrt {c} e}{\sqrt {-a}}\right )}}} \, dx,x,\frac {\sqrt {1-\frac {\sqrt {c} x}{\sqrt {-a}}}}{\sqrt {2}}\right )}{6 \sqrt {-a} a c^{5/2} \sqrt {d+e x} \sqrt {a+c x^2}} \\ & = -\frac {(a e-c d x) (d+e x)^{5/2}}{3 a c \left (a+c x^2\right )^{3/2}}-\frac {\sqrt {d+e x} \left (a e \left (3 c d^2+5 a e^2\right )-2 c d \left (2 c d^2+3 a e^2\right ) x\right )}{6 a^2 c^2 \sqrt {a+c x^2}}+\frac {2 d \left (c d^2+2 a e^2\right ) \sqrt {d+e x} \sqrt {1+\frac {c x^2}{a}} E\left (\sin ^{-1}\left (\frac {\sqrt {1-\frac {\sqrt {c} x}{\sqrt {-a}}}}{\sqrt {2}}\right )|-\frac {2 a e}{\sqrt {-a} \sqrt {c} d-a e}\right )}{3 (-a)^{3/2} c^{3/2} \sqrt {\frac {\sqrt {c} (d+e x)}{\sqrt {c} d+\sqrt {-a} e}} \sqrt {a+c x^2}}-\frac {\left (c d^2+a e^2\right ) \left (4 c d^2+5 a e^2\right ) \sqrt {\frac {\sqrt {c} (d+e x)}{\sqrt {c} d+\sqrt {-a} e}} \sqrt {1+\frac {c x^2}{a}} F\left (\sin ^{-1}\left (\frac {\sqrt {1-\frac {\sqrt {c} x}{\sqrt {-a}}}}{\sqrt {2}}\right )|-\frac {2 a e}{\sqrt {-a} \sqrt {c} d-a e}\right )}{6 (-a)^{3/2} c^{5/2} \sqrt {d+e x} \sqrt {a+c x^2}} \\ \end{align*}
Result contains complex when optimal does not.
Time = 13.56 (sec) , antiderivative size = 612, normalized size of antiderivative = 1.46 \[ \int \frac {(d+e x)^{7/2}}{\left (a+c x^2\right )^{5/2}} \, dx=\frac {\sqrt {d+e x} \left (\frac {-5 a^3 e^3+4 c^3 d^3 x^3+a^2 c e \left (-5 d^2+2 d e x-7 e^2 x^2\right )+a c^2 d x \left (6 d^2+d e x+8 e^2 x^2\right )}{a^2 c^2 \left (a+c x^2\right )}-\frac {4 d e^2 \sqrt {-d-\frac {i \sqrt {a} e}{\sqrt {c}}} \left (c d^2+2 a e^2\right ) \left (a+c x^2\right )+4 \sqrt {c} d \left (-i c^{3/2} d^3+\sqrt {a} c d^2 e-2 i a \sqrt {c} d e^2+2 a^{3/2} e^3\right ) \sqrt {\frac {e \left (\frac {i \sqrt {a}}{\sqrt {c}}+x\right )}{d+e x}} \sqrt {-\frac {\frac {i \sqrt {a} e}{\sqrt {c}}-e x}{d+e x}} (d+e x)^{3/2} E\left (i \text {arcsinh}\left (\frac {\sqrt {-d-\frac {i \sqrt {a} e}{\sqrt {c}}}}{\sqrt {d+e x}}\right )|\frac {\sqrt {c} d-i \sqrt {a} e}{\sqrt {c} d+i \sqrt {a} e}\right )-\sqrt {a} e \left (4 c^{3/2} d^3+i \sqrt {a} c d^2 e+8 a \sqrt {c} d e^2+5 i a^{3/2} e^3\right ) \sqrt {\frac {e \left (\frac {i \sqrt {a}}{\sqrt {c}}+x\right )}{d+e x}} \sqrt {-\frac {\frac {i \sqrt {a} e}{\sqrt {c}}-e x}{d+e x}} (d+e x)^{3/2} \operatorname {EllipticF}\left (i \text {arcsinh}\left (\frac {\sqrt {-d-\frac {i \sqrt {a} e}{\sqrt {c}}}}{\sqrt {d+e x}}\right ),\frac {\sqrt {c} d-i \sqrt {a} e}{\sqrt {c} d+i \sqrt {a} e}\right )}{a^2 c^2 e \sqrt {-d-\frac {i \sqrt {a} e}{\sqrt {c}}} (d+e x)}\right )}{6 \sqrt {a+c x^2}} \]
[In]
[Out]
Leaf count of result is larger than twice the leaf count of optimal. \(814\) vs. \(2(346)=692\).
Time = 4.34 (sec) , antiderivative size = 815, normalized size of antiderivative = 1.95
method | result | size |
elliptic | \(\frac {\sqrt {\left (e x +d \right ) \left (c \,x^{2}+a \right )}\, \left (\frac {\left (-\frac {\left (3 e^{2} a -c \,d^{2}\right ) d x}{3 c^{3} a}+\frac {e \left (e^{2} a -3 c \,d^{2}\right )}{3 c^{4}}\right ) \sqrt {c e \,x^{3}+c d \,x^{2}+a e x +a d}}{\left (x^{2}+\frac {a}{c}\right )^{2}}-\frac {2 \left (c e x +c d \right ) \left (-\frac {\left (2 e^{2} a +c \,d^{2}\right ) d x}{3 c^{2} a^{2}}+\frac {\left (7 e^{2} a -c \,d^{2}\right ) e}{12 c^{3} a}\right )}{\sqrt {\left (x^{2}+\frac {a}{c}\right ) \left (c e x +c d \right )}}+\frac {2 \left (\frac {e^{4}}{c^{2}}-\frac {7 a^{2} e^{4}-9 a c \,d^{2} e^{2}-4 c^{2} d^{4}}{6 c^{2} a^{2}}+\frac {e^{2} \left (7 e^{2} a -c \,d^{2}\right )}{12 c^{2} a}-\frac {2 d^{2} \left (2 e^{2} a +c \,d^{2}\right )}{3 c \,a^{2}}\right ) \left (\frac {d}{e}-\frac {\sqrt {-a c}}{c}\right ) \sqrt {\frac {x +\frac {d}{e}}{\frac {d}{e}-\frac {\sqrt {-a c}}{c}}}\, \sqrt {\frac {x -\frac {\sqrt {-a c}}{c}}{-\frac {d}{e}-\frac {\sqrt {-a c}}{c}}}\, \sqrt {\frac {x +\frac {\sqrt {-a c}}{c}}{-\frac {d}{e}+\frac {\sqrt {-a c}}{c}}}\, F\left (\sqrt {\frac {x +\frac {d}{e}}{\frac {d}{e}-\frac {\sqrt {-a c}}{c}}}, \sqrt {\frac {-\frac {d}{e}+\frac {\sqrt {-a c}}{c}}{-\frac {d}{e}-\frac {\sqrt {-a c}}{c}}}\right )}{\sqrt {c e \,x^{3}+c d \,x^{2}+a e x +a d}}-\frac {2 \left (2 e^{2} a +c \,d^{2}\right ) d e \left (\frac {d}{e}-\frac {\sqrt {-a c}}{c}\right ) \sqrt {\frac {x +\frac {d}{e}}{\frac {d}{e}-\frac {\sqrt {-a c}}{c}}}\, \sqrt {\frac {x -\frac {\sqrt {-a c}}{c}}{-\frac {d}{e}-\frac {\sqrt {-a c}}{c}}}\, \sqrt {\frac {x +\frac {\sqrt {-a c}}{c}}{-\frac {d}{e}+\frac {\sqrt {-a c}}{c}}}\, \left (\left (-\frac {d}{e}-\frac {\sqrt {-a c}}{c}\right ) E\left (\sqrt {\frac {x +\frac {d}{e}}{\frac {d}{e}-\frac {\sqrt {-a c}}{c}}}, \sqrt {\frac {-\frac {d}{e}+\frac {\sqrt {-a c}}{c}}{-\frac {d}{e}-\frac {\sqrt {-a c}}{c}}}\right )+\frac {\sqrt {-a c}\, F\left (\sqrt {\frac {x +\frac {d}{e}}{\frac {d}{e}-\frac {\sqrt {-a c}}{c}}}, \sqrt {\frac {-\frac {d}{e}+\frac {\sqrt {-a c}}{c}}{-\frac {d}{e}-\frac {\sqrt {-a c}}{c}}}\right )}{c}\right )}{3 a^{2} c \sqrt {c e \,x^{3}+c d \,x^{2}+a e x +a d}}\right )}{\sqrt {e x +d}\, \sqrt {c \,x^{2}+a}}\) | \(815\) |
default | \(\text {Expression too large to display}\) | \(2660\) |
[In]
[Out]
Result contains higher order function than in optimal. Order 9 vs. order 4.
Time = 0.10 (sec) , antiderivative size = 495, normalized size of antiderivative = 1.18 \[ \int \frac {(d+e x)^{7/2}}{\left (a+c x^2\right )^{5/2}} \, dx=\frac {{\left (4 \, a^{2} c^{2} d^{4} + 11 \, a^{3} c d^{2} e^{2} + 15 \, a^{4} e^{4} + {\left (4 \, c^{4} d^{4} + 11 \, a c^{3} d^{2} e^{2} + 15 \, a^{2} c^{2} e^{4}\right )} x^{4} + 2 \, {\left (4 \, a c^{3} d^{4} + 11 \, a^{2} c^{2} d^{2} e^{2} + 15 \, a^{3} c e^{4}\right )} x^{2}\right )} \sqrt {c e} {\rm weierstrassPInverse}\left (\frac {4 \, {\left (c d^{2} - 3 \, a e^{2}\right )}}{3 \, c e^{2}}, -\frac {8 \, {\left (c d^{3} + 9 \, a d e^{2}\right )}}{27 \, c e^{3}}, \frac {3 \, e x + d}{3 \, e}\right ) + 12 \, {\left (a^{2} c^{2} d^{3} e + 2 \, a^{3} c d e^{3} + {\left (c^{4} d^{3} e + 2 \, a c^{3} d e^{3}\right )} x^{4} + 2 \, {\left (a c^{3} d^{3} e + 2 \, a^{2} c^{2} d e^{3}\right )} x^{2}\right )} \sqrt {c e} {\rm weierstrassZeta}\left (\frac {4 \, {\left (c d^{2} - 3 \, a e^{2}\right )}}{3 \, c e^{2}}, -\frac {8 \, {\left (c d^{3} + 9 \, a d e^{2}\right )}}{27 \, c e^{3}}, {\rm weierstrassPInverse}\left (\frac {4 \, {\left (c d^{2} - 3 \, a e^{2}\right )}}{3 \, c e^{2}}, -\frac {8 \, {\left (c d^{3} + 9 \, a d e^{2}\right )}}{27 \, c e^{3}}, \frac {3 \, e x + d}{3 \, e}\right )\right ) - 3 \, {\left (5 \, a^{2} c^{2} d^{2} e^{2} + 5 \, a^{3} c e^{4} - 4 \, {\left (c^{4} d^{3} e + 2 \, a c^{3} d e^{3}\right )} x^{3} - {\left (a c^{3} d^{2} e^{2} - 7 \, a^{2} c^{2} e^{4}\right )} x^{2} - 2 \, {\left (3 \, a c^{3} d^{3} e + a^{2} c^{2} d e^{3}\right )} x\right )} \sqrt {c x^{2} + a} \sqrt {e x + d}}{18 \, {\left (a^{2} c^{5} e x^{4} + 2 \, a^{3} c^{4} e x^{2} + a^{4} c^{3} e\right )}} \]
[In]
[Out]
\[ \int \frac {(d+e x)^{7/2}}{\left (a+c x^2\right )^{5/2}} \, dx=\int \frac {\left (d + e x\right )^{\frac {7}{2}}}{\left (a + c x^{2}\right )^{\frac {5}{2}}}\, dx \]
[In]
[Out]
\[ \int \frac {(d+e x)^{7/2}}{\left (a+c x^2\right )^{5/2}} \, dx=\int { \frac {{\left (e x + d\right )}^{\frac {7}{2}}}{{\left (c x^{2} + a\right )}^{\frac {5}{2}}} \,d x } \]
[In]
[Out]
\[ \int \frac {(d+e x)^{7/2}}{\left (a+c x^2\right )^{5/2}} \, dx=\int { \frac {{\left (e x + d\right )}^{\frac {7}{2}}}{{\left (c x^{2} + a\right )}^{\frac {5}{2}}} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {(d+e x)^{7/2}}{\left (a+c x^2\right )^{5/2}} \, dx=\int \frac {{\left (d+e\,x\right )}^{7/2}}{{\left (c\,x^2+a\right )}^{5/2}} \,d x \]
[In]
[Out]